<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>招聘 </title>
</head>
<link type="text/css" rel="stylesheet" href="style/css/base.css" />
<link type="text/css" rel="stylesheet" href="style/css/job.css" />
<script language="javascript">
var json;
function showDetail(id)
{
	//alert(id);
	//workDuty
	//workRequirement
	for(var value in json)
	{
		if(json[value].position_id==id)
		{
		document.getElementById("workDuty").innerHTML=json[value].workDuty;
		document.getElementById("workRequirement").innerHTML=json[value].workRequirement;
		document.getElementById("workPlace").innerHTML=json[value].workPlace;
		
		}
	}
}
function showJoblist(){
		var jobCategory="yanfachu";
		var xmlhttp;
		if (window.XMLHttpRequest)
 		 {// code for IE7+, Firefox, Chrome, Opera, Safari
 		 xmlhttp=new XMLHttpRequest();
 		 }
		else
 		 {// code for IE6, IE5
  		xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  		}
		xmlhttp.onreadystatechange=function()
  		{
  		if (xmlhttp.readyState==4 && xmlhttp.status==200)
   		 {
   		    var txt = xmlhttp.responseText;
   		    json = eval('(' + txt + ')');
   		   // alert(txt);
   		   for(var value in json)
   		   {
   		   	var li=document.createElement("li");
   		   	var a=document.createElement("a"); 	
   		   //a.setAttribute("onclick",showDetail);
   		   	//a.setAttribute("onclick",this.showDetail+"("+json[value].position_id+")");
   		    
   		   	a.id=json[value].position_id;
   		   	a.onclick=function(){showDetail(a.id)};
   		   	a.href="#";
   		  
   		   	a.innerHTML=json[value].position;
			li.appendChild(a);
			var element=document.getElementById("jobsList");
			element.appendChild(li);
			
   		   } 
   		   showDetail(json[0].position_id);
    	 }
 		}
		xmlhttp.open("GET","front/data/jobsService.jsp?method=SearchJobCategory&jobCategory="+jobCategory,true);
		xmlhttp.send();
}

</script>
<body onload="showJoblist()">
<div id="head">
<div class="container">
<a href="http://www.tp-link.com.cn" target="_blank"><img src="images/logo.jpg" alt="TP-LINK" /></a>
<div id="menu">
<ul>
<li><a href="index.html"><label style="font-weight:bold">丨</label> 首页</a></li>
<li><a href="http://hr.tp-link.com.cn/process.html"><label style="font-weight:bold">丨</label> 应聘流程</a></li>
<li><a class="menufocus" href="jobs.html"><label style="font-weight:bold">丨</label> 职位信息</a></li>
<li><a href="http://hr.tp-link.com.cn/sec.html"><label style="font-weight:bold">丨</label> 宣讲会行程</a></li>
<li><a href="http://hr.tp-link.com.cn/feel.html"><label style="font-weight:bold">丨</label> 学长心声</a></li>
<li><a href="http://hr.tp-link.com.cn/qa_ypsq.html"><label style="font-weight:bold">丨</label> Q&A/BBS </a></li>
<li><a href="http://hr.tp-link.com.cn/about_intro.html"><label style="font-weight:bold">丨</label> 了解TP-LINK</a></li>
</ul>
</div>
<div class="clear"></div>
</div>
</div>
<div id="main">
<div class="container">

<div id="job_menu">
<ul>
<li><a href="jobs.html" class="job_class1 selected">研发处</a></li>
<li><a href="front/jobs_chanpinchu.html" class="job_class2">产品处</a></li>
<li><a href="front/job03.html" class="job_class3">国际业务处</a></li>
<li><a href="front/job04.html" class="job_class4">制造处</a></li>
<li><a href="front/job05.html" class="job_class5">资材处</a></li>
<li><a href="front/job06.html" class="job_class6">财务处</a></li>
<li><a href="front/job07.html" class="job_class7">营销处</a></li>
<li><a href="front/job08.html" class="job_class8">人事行政处</a></li>
</ul>
</div>
<div id="content_job">
<div id="jobList"><!-- 这里不用管他 -->
<ul id="jobsList"></ul>
<div class="clear"></div>
<div id="job-detail">
<div class="descript">
<b>【职位描述】</b>&nbsp;&nbsp;&nbsp;&nbsp;
<div class="job_detail" id="workDuty">
<br><br></div><br>
<b>【招聘要求】</b>&nbsp;&nbsp;
<p id="workRequirement"></p><br>
<b>【工作地点】</b>
<p id="workPlace"></p>

</div></div>
<p class="job_dtl sug" style="display: block;">温馨提示:<br>公司在每个学校招聘职位存在不同，请同学们投递时，参考您所在学校就业网上发布的职位信息！</p>
<div id="job_s_100061307" class="job_dtl sub" style="display: block;"><a href="http://campus1.zhaopin.com/resume/checkintoapp?pid=CC000128300J90000000000">申请职位</a></div>
</div>
</div>
</div>

</div>
</div>
<div id="foot">
<a href="http://e.weibo.com/tplinkofficial" target="_blank"><img src="images/weibo.jpg" alt="TP-LINK官方微博"/></a>
<label>胡紫薇 版权所有 蓉ICP备05144415</label></div>
</body>
</html>
